package org.zjx.analysis.analyze.tap;


import org.zjx.command.util.ImageUtil;
import org.zjx.window.window.IWindow;

import java.awt.*;
import java.awt.image.BufferedImage;
import java.util.Collections;

public class HSSTabAnalysis extends BaseTabAnalysis {

    public HSSTabAnalysis(IWindow window) {
        super("化生寺", window);
    }

    @Override
    public Rectangle getContentArea() {
        return ImageUtil.createRect(10, 80, 378, 355);
    }

    @Override
    protected void initResources() {

    }

    @Override
    public Rectangle closeArea() {
        return null;
    }

    @Override
    public Rectangle getOriginBounds() {
        return ImageUtil.createRect(168, 104, 631, 489);
    }

    @Override
    public Rectangle getRefImageArea() {
        return ImageUtil.createRect(211, 24, 252, 37);
    }

    @Override
    public BufferedImage getRefImage() {
        BufferedImage bufferedImage = ImageUtil.createImage("iVBORw0KGgoAAAANSUhEUgAAACoAAAAOCAYAAABZ/o57AAADM0lEQVR4Xp2Ui0tTcRTH7z8WOoTQCl/MSm0jSipyTlNG4Myl5GM+0pab4jYVNHWyzXKbos6mMyVciKk5UTKotCIrg1AI7LRz7v3d3e06mh34cM85v/P4/u4u41KUVmA4fetw+bYDzuRaIe1SD3T1L5GfiJTcLkjNs4G61Cnm8osd4PFvymqpXrIrnjKDF1TaEVmewTEn+/oAoJVWeynWVI1RjH78QiYSae6cozqWN5qDYt9p+PbjEAKLO7I8g8M3gtiGXsUs0FR5xDhV2UXPvFuDsBr+BBmFdlHo5OwW1RVVOKFI54YB9wofR3wpWdf6aQ9yePSbapIxoyVIPZxC2Q0I2sbWF/IRrfBGUSSie+ATm8+re0ShydrBzyNx9hXNMJTXeCOMC3ipZvvdvpDnuWPwwNl8O/WQUCaqptUvE3pOZYfltV3yd95/h/RCmyiysSNAeVXJsHihps5ZyrGYzWPgYhQgFXSyUL6mrJoXyynyuuD4+A8V6o0TgDGChVIztE5Fl+eaQa15Qvn5lzsUJxJK9cJMpMkSkExNzupMM8DZhpbERGXjBBRoBuFN5BNg1usI8UsiYhgpOR2gLOoFl2+VfISdNZufU59U6GkZcC/LZnCBF9vQ2bdAB/oGH3T0zMPX/V/g8r6mXLxAJgqf2Vft/G2SMF3tmDhndHwVPuwdJIQZ+iZbkHo41oyGQlmsqXRRTipQiiLHRNxvHof6R36RmXn+X6DBFM3VtU9DRkG3OLtveAnWwnsJYYY+9vJChYUktN4jCtBWOnmhQszY+3wAuhp3xG+DlOx2ekYxRX56/4l9J4E2Nbspyw84Q7IZJwjll2orHUJxVAgKQ+vsC8bkpefN5mlZn/QiUnAf2o2KoZh8AqH8EDR9/TNxqLq4j3L+uTA8tgXAZA1Evi3+z7zaOAbpF9uhquEp+QxDkxcmAxtUg76UaqMHLhSa44S3QUnkhdieLMDQaAgqDC7IVFlgZf2jIDRaFyP0bq0LUrNaRBZDbykvtfXwLiiyW0BfNxp/9E9rMU/FLMcd+GSXk5pnajVWKBNVfm8E0nIfxghNSGaTnPia/wD3F9y0Qo7aIjv7CxDTTtWg8+/1AAAAAElFTkSuQmCC");
        return ImageUtil.makeColorsTransparent(bufferedImage, Collections.singletonList(Color.WHITE));
    }
}
